package io.renren.modules.hos.service.impl;

import io.renren.modules.hos.entity.QuickConsultationEntity;
import io.renren.modules.hos.service.QuickConsultationService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.hos.dao.QuickConsultationDao;



@Service("quickConsultationService")
public class QuickConsultationServiceImpl extends ServiceImpl<QuickConsultationDao, QuickConsultationEntity> implements QuickConsultationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<QuickConsultationEntity> page = this.page(
                new Query<QuickConsultationEntity>().getPage(params),
                new QueryWrapper<QuickConsultationEntity>()
        );

        return new PageUtils(page);
    }

}